﻿package
{
	public class UserPetParameters
	{
		//UserID
		public var userID:String;
		
		//UserPhotoURL
		public var userPhotoURL:String;
		
		//Avarta components
		public var mouthIndex:int;
		public var eyebowIndex:int;
		public var noseIndex:int;
		public var eyeIndex:int;
		public var earIndex:int;
		public var bodyColor:int;
		public var bodyAccessories:Array;
		public var clothIndex:int;
		
		//Furniturs and Gardget user has and their coordinator in scene
		public var furnituresIndex:Array;
		public var funituresCoord:Array;
		public var gardgetsIndex:Array;
		public var gardgetsCoord:Array;
		
		//Accessories
		public var houseAccessories:Array;
		public var houseAccessoriesCoord:Array;
		
		//Wall and Floor color and texture
		public var wallColor:int;
		public var floorColor:int;
		public var wallTexture:int;
		public var fllorTexture:int;
		
		//FriendsID
		public var friendsID:Array;
		
		//FriendsPhotoURL
		public var friendsPhotoURL:Array;
		
		
		public function UserPetParameters()
		{
			var phpDatabase:PHPDatabase = new PHPDatabase();
			var phpURLRequest:URLRequest = new URLRequest(NetworkConfig.PHPAddress);
			
			//call host platform with sessionID to get User Photo
			
			
			//call php operation to get data from database
			
			//fill in Avarta data
			
			//fill in Funiturs and Gardgets data
			
			//fill in accesories data
			
			//fill in wall and floor color and texture
			
			//fill in FriendsID
			
			//for each friends array call host platform API to get Photo URL
		}
	}
}